package com.ltu.domain.mp_entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ltu.domain.BaseEntity;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单详情
 * </p>
 * 
 * @author 若尘
 * @since 2024-03-16
 */
@Accessors(chain = true)
@TableName("sys_order_detail")
@ApiModel(value = "OrderDetailEntity对象", description = "订单详情")
public class OrderDetailEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = " store_id:来源门店 ")
	private Integer storeId;
	@ApiModelProperty(value = " store_name:门店名称 ")
	private String storeName;
	@ApiModelProperty(value = " order_id:订单id ")
	private Integer orderId;
	@ApiModelProperty(value = " order_no:订单编号 ")
	private String orderNo;
	@ApiModelProperty(value = " product_id:商品ID ")
	private Integer productId;
	@ApiModelProperty(value = " product_name:可兑换的商品名称 ")
	private String productName;
	@ApiModelProperty(value = " banner_img:商品的图片 ")
	private String bannerImg;
	@ApiModelProperty(value = " unit_price:单价 ")
	private Integer unitPrice;
	@ApiModelProperty(value = " amount:数量 ")
	private Integer amount;
	@ApiModelProperty(value = " total_amount:小计费用 ")
	private Integer totalAmount;
	@ApiModelProperty(value = "规格名称拼接，如 尺码：41,颜色:红色")
	private String unitName;

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}


	/**
	 * 来源门店
	 */
	public Integer getStoreId() {
		return storeId;
	}

	/**
	 * 来源门店
	 */
	public OrderDetailEntity setStoreId(Integer storeId) {
		this.storeId = storeId;
		return this;
	}

	/**
	 * 门店名称
	 */
	public String getStoreName() {
		return storeName;
	}

	/**
	 * 门店名称
	 */
	public OrderDetailEntity setStoreName(String storeName) {
		this.storeName = storeName;
		return this;
	}

	/**
	 * 订单id
	 */
	public Integer getOrderId() {
		return orderId;
	}

	/**
	 * 订单id
	 */
	public OrderDetailEntity setOrderId(Integer orderId) {
		this.orderId = orderId;
		return this;
	}

	/**
	 * 订单编号
	 */
	public String getOrderNo() {
		return orderNo;
	}

	/**
	 * 订单编号
	 */
	public OrderDetailEntity setOrderNo(String orderNo) {
		this.orderNo = orderNo;
		return this;
	}

	/**
	 * 商品ID
	 */
	public Integer getProductId() {
		return productId;
	}

	/**
	 * 商品ID
	 */
	public OrderDetailEntity setProductId(Integer productId) {
		this.productId = productId;
		return this;
	}

	/**
	 * 可兑换的商品名称
	 */
	public String getProductName() {
		return productName;
	}

	/**
	 * 可兑换的商品名称
	 */
	public OrderDetailEntity setProductName(String productName) {
		this.productName = productName;
		return this;
	}

	/**
	 * 商品的图片
	 */
	public String getBannerImg() {
		return bannerImg;
	}

	/**
	 * 商品的图片
	 */
	public OrderDetailEntity setBannerImg(String bannerImg) {
		this.bannerImg = bannerImg;
		return this;
	}

	/**
	 * 单价
	 */
	public Integer getUnitPrice() {
		return unitPrice;
	}

	/**
	 * 单价
	 */
	public OrderDetailEntity setUnitPrice(Integer unitPrice) {
		this.unitPrice = unitPrice;
		return this;
	}

	/**
	 * 数量
	 */
	public Integer getAmount() {
		return amount;
	}

	/**
	 * 数量
	 */
	public OrderDetailEntity setAmount(Integer amount) {
		this.amount = amount;
		return this;
	}

	/**
	 * 小计
	 */
	public Integer getTotalAmount() {
		return totalAmount;
	}

	/**
	 * 小计
	 */
	public OrderDetailEntity setTotalAmount(Integer totalAmount) {
		this.totalAmount = totalAmount;
		return this;
	}

}
